package com.tongji.seller.events.utilsEvent
{
	import flash.display.Bitmap;
	import flash.display.BitmapData;
	import flash.events.Event;
	import flash.events.MouseEvent;
	
	/**
	 * 
	 * @author yanghanbing
	 * 2011/08/
	 */ 
	public class ListItemMouseEvent extends Event
	{
		public static const ITEM_MOUSE_DOWN:String = "itemMouseDown";
		public static const ITEM_MOUSE_UP:String = "itemMouseUp";
		
		private var _content:BitmapData;
		public var index:int;
		public function get content():BitmapData
		{
			return _content;
		}
		
		private var _myEvent:MouseEvent;

		public function get myEvent():MouseEvent
		{
			return _myEvent;
		}

		public function ListItemMouseEvent(type:String, myEvent:MouseEvent, content:BitmapData, index:int)
		{
			super(type, true);
			this._myEvent = myEvent;
			this._content = content;
			this.index = index;
		}
		
		override public function clone():Event
		{
			return new ListItemMouseEvent(type, myEvent, content, index);
		}
	}
}